package operation.modules.workReport.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * 工作-项目子模块表
 */
@Data
@TableName("work_project")
public class WorkProjectEntity {
    private static final long serialVersionUID = 1L;
    @TableField(exist = false)
    private String title;
    @TableId
    private int id;
    private String code; // 项目Code
    private String name; // 项目名称
    private String comment; // 备注
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime; // 创建时间
}
